/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const systemRouter = {
  path: '/system-management',
  component: Layout,
  redirect: '/system-management/admin-list',
  name: '系统管理',
  meta: {
    title: '系统管理',
    icon: 'example'
  },
  children: [
    {
      path: 'admin-list',
      component: () => import('@/views/system-management/admin-list'),
      name: '管理员列表',
      meta: { title: '管理员列表' }
    },
    {
      path: 'role-management',
      component: () => import('@/views/system-management/role-management'),
      name: '角色管理',
      meta: { title: '角色管理' }
    }
  ]
}
export default systemRouter
